﻿using Kavaa.Core.Entity;
using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Kavaa.Modules.PortailMedical.Entity
{
    [Serializable()]
    [DataContract()]
    public class Utilisateur : EntityBase
    {
        [DataMember()]
        [XmlAttribute()]
        public string login { get; set; }
        [DataMember()]
        [XmlAttribute()]
        public string motPasse { get; set; }
        //[DataMember()]
        //[XmlAttribute()]
        //public string Nom { get; set; }
        [DataMember()]
        [XmlAttribute()]
        public string Prenom { get; set; }
        [DataMember()]
        [XmlAttribute()]
        public string Fonction { get; set; }
        [DataMember()]
        [XmlAttribute()]
        public string Telephone { get; set; }


        [DataMember()]
        [XmlAttribute()]
        public string Email{ get; set; }
        [DataMember()]
        [XmlAttribute()]
        public string PasswordMail { get; set; } 
        [DataMember()]
        [XmlAttribute()]

        public Acteur Acteur { get; set; }
         [DataMember()]
        [XmlAttribute()]
        public bool Active { get; set; }
         [DataMember()]
         [XmlAttribute()]
         public int Etatcompte { get; set; }

         public string Etat { get; set; }
    }
}
